package com.jxc.service;

import java.util.List;

import org.jfree.chart.JFreeChart;

import com.jxc.model.po.Member;
import com.jxc.model.vo.DataGrid;
import com.jxc.model.vo.VMember;

public interface MemberServiceI {

	public Long save(VMember vMember);

	public void update(VMember vMember);

	public void delete(String ids);

	public DataGrid datagrid(VMember vMember);
	
	public DataGrid datagridTotal(VMember vMember);
	
	public List<VMember> combobox(VMember vmember);
	
	public Member getMemberById(Long id);
	public VMember getMnameById(Long id);

	public void findImp();

	/**
	 * 返回会员性别统计数据
	 * @param upid
	 * @param model
	 * @return
	 */
	public List<Object[]> memberTotal(VMember model);

	/**
	 * 根据会员性别统计数据向前端页面返回统计图表
	 * @param vsls
	 * @param model 
	 * @return
	 */
	public JFreeChart getMemberTotalChart(List<Object[]> vsls, VMember model);
}
